package it.mp.multitask.view;

import android.content.Context;
import android.util.AttributeSet;
import android.widget.LinearLayout;


public class LinearLayoutApp extends LinearLayout{
	
	public LinearLayoutApp(Context context, AttributeSet attrs) {
		super(context, attrs); 
	}
	
	@Override
	protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) {		
		
		super.onMeasure(widthMeasureSpec, heightMeasureSpec);
	}
	protected void onLayout(boolean changed, int l, int t, int r, int b) {
		if (this.getWidth()>0){
			((LinearLayoutElencoTask)this.getParent()).setPosizioneFineRecentlyApplication(this.getWidth());
		}				
		super.onLayout(changed, l, t, r, b);
	}
}
